package com.platform.common.core.domain.entity;

import com.platform.common.core.annotation.Excel;
import com.platform.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 集装器对象 dic_uld
 *
 * @author xuefk
 * @date 2023-04-10
 */
public class DicUld extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 集装器代码 */
    @Excel(name = "集装器代码")
    private String pCode;

    /** 集装器编号 */
    @Excel(name = "集装器编号")
    private String pNumber;

    /** 集装器全拼 */
    @Excel(name = "集装器全拼")
    private String uldCode;


    /** 航司 */
    @Excel(name = "航司")
    private String carrier;

    /** 重量（kg） */
    @Excel(name = "重量", readConverterExp = "k=g")
    private String weight;

    /** 机场编号 */
    @Excel(name = "机场编号")
    private String airportCode;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUldCode(String uldCode)
    {
        this.uldCode = uldCode;
    }

    public String getUldCode()
    {
        return uldCode;
    }
    public void setpCode(String pCode)
    {
        this.pCode = pCode;
    }

    public String getpCode()
    {
        return pCode;
    }
    public void setpNumber(String pNumber)
    {
        this.pNumber = pNumber;
    }

    public String getpNumber()
    {
        return pNumber;
    }
    public void setCarrier(String carrier)
    {
        this.carrier = carrier;
    }

    public String getCarrier()
    {
        return carrier;
    }
    public void setWeight(String weight)
    {
        this.weight = weight;
    }

    public String getWeight()
    {
        return weight;
    }
    public void setAirportCode(String airportCode)
    {
        this.airportCode = airportCode;
    }

    public String getAirportCode()
    {
        return airportCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("pCode", getpCode())
                .append("pNumber", getpNumber())
                .append("carrier", getCarrier())
                .append("weight", getWeight())
                .append("airportCode", getAirportCode())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
